package cn.edu.lzzy.handlers;

//业务异常类
public class BusinessException extends RuntimeException {
    public String getErrorInfo() {
        return errorInifo;
    }

    public final  String errorInifo;

    public BusinessException(String msg){
        super(msg);
        errorInifo = msg;
    }


}


//    //    异常对应的返回码
//    private Integer code;
//
//    //    异常对应的描述信息
//    private String message;
//
//    public BusinessException() {
//        super();
//    }

